package com.zy.levelcache.annotation;

import java.lang.annotation.*;

/**
 * 修改缓存
 *
 * @Author: zhao yi
 * @Date : 2020/5/23 21:38
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LvCachePut {
    /***
     * key
     * @return
     */
    String key();
    /***
     * 过期时间
     * @return
     */
    long timeout();
}